/**
 * 
 */
package com.bemol.kernel.util;

/**
 * @author Samuel García Martínez
 *
 */
public class KernelUtil {

	/**
	 * Obtains the client's {@link ClassLoader} of the current method.
	 * 
	 * @return Obtains the client's {@link ClassLoader} of the current method.
	 */
	public static ClassLoader getClientClassLoader() {
		return Thread.currentThread().getStackTrace()[2].getClass().getClassLoader();
	}
	
}
